package com.wen.order.service;

import com.wen.order.entity.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author wen
 * @since 2021-06-19
 */
public interface TOrderService extends IService<TOrder> {
    /**
     * 根据课程id创建订单
     *
     * @param courseId 课程id
     * @param memberId  用户id
     * @return 订单号
     */
    String createOrder(String courseId, String memberId);
}
